﻿using System;
using System.ComponentModel;

namespace Loki
{
    internal class LokiTask : LokiBaseTask, ITask
    {
        public LokiTask(BackgroundWorker P_Worker)
            : base(P_Worker)
        {
        }

        public Action Run { get; set; }
    }

    internal class LokiTask<TArgument> : LokiBaseTask, ITask<TArgument>
    {
        public LokiTask(BackgroundWorker P_Worker)
            : base(P_Worker)
        {
        }

        public Action<TArgument> Run { get; set; }
    }
}
